package com.zhw.enums;

import lombok.Getter;

/**
 * Created by Administrator on 2018/4/14.
 */
@Getter //自动生成get方法
public enum ProductStatusEnum implements CodeEnum{

    UP(0,"上架"),
    DOWN(1,"下架");

    private Integer code;   // 状态码
    String message;   //状态信息

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
